#! _*_ coding:utf8 _*_
from school.models import School


def create_school(name):
    '''
    以name为名称创建一所学校
    :param name: 学校名
    :return: 学校实例
    '''

    school = School(name=name)
    school.save()
    return school